import request from '@/utils/request'

// 查询基本信息列表
export function listBid_project(query) {
  return request({
    url: '/business/my_bid_project/list',
    method: 'get',
    params: query
  })
}

// 查询基本信息列表
export function listBid_project_options(query) {
  return request({
    url: '/business/my_bid_project/listForOptions',
    method: 'get',
    params: query
  })
}

// 查询基本信息详细
export function getBid_project(projectId) {
  return request({
    url: '/business/my_bid_project/' + projectId,
    method: 'get'
  })
}

// 新增基本信息
export function addBid_project(data) {
  return request({
    url: '/business/my_bid_project',
    method: 'post',
    data: data
  })
}
// 新增基本信息
export function otherProjectPerson(data) {
  return request({
    url: '/business/my_bid_project/otherProjectPerson',
    method: 'post',
    data: data
  })
}

// 修改基本信息
export function updateBid_project(data) {
  return request({
    url: '/business/my_bid_project',
    method: 'put',
    data: data
  })
}

// 删除基本信息
export function delBid_project(projectId) {
  return request({
    url: '/business/my_bid_project/' + projectId,
    method: 'delete'
  })
}
